<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>target属性</title>
</head>

<body>
<a href = "https://www.sina.com.cn/", target = "_self">新浪</a>
<a href = "https://www.baidu.com/", target = "_blank">百度</a>

</body>

</html>